/*
 * XDVMeshRenderer.h
 *
 *  Created on: May 21, 2013
 *      Author: daviD
 */

#ifndef XDVMESHRENDERER_H_
#define XDVMESHRENDERER_H_

#include "XDVRenderComponent.h"
class XDVMesh;

class XDVMeshRenderer: public XDVRenderComponent
{
public:
	XDVMeshRenderer();
	virtual ~XDVMeshRenderer();
	XDVMeshRenderer(XDVMesh* mesh);

	virtual void Render();
	XDVMesh* GetMesh() {return m_mesh;}
	void SetMesh(XDVMesh* mesh) {m_mesh = mesh;}

private:
	XDVMesh* m_mesh;
};

#endif /* XDVMESHRENDERER_H_ */
